import { request, config } from 'utils'

const { api } = config
const { organization,department,document,documentInfo,newDocument,
	changeDocument,getarchivesHistory,getHistoryDetails } = api

export async function organ (params) {
	return request({
	    url: organization,
	    method: 'post',
	    data: params,
	})	
}

export async function getarchivesHistory1 (params){
	return request({
		url:getarchivesHistory,
		method:'post',
		data:params
	})
}

export async function getHistoryDetails1 (params){
	return request({
		url:getHistoryDetails,
		method:'post',
		data:params
	})
}

